@import "../../assets/css/mixin.scss";
/* header组件样式 */
.header {
  position: relative;
  color: #fff;
  background-color: rgba(7,17,27,.5);
  overflow: hidden;
  .content-wrapper {
    position: relative;
    padding: 24px 12px 18px 24px;
    font-size: 0;
    .avatar {
      display: inline-block;
      vertical-align: top;
      img {
        border-radius: 2px;
      }
    }
    .content {
      display: inline-block;
      margin-left: 16px;
      .title {
        margin: 2px 0 8px 0;
        .brand {
          display: inline-block;
          vertical-align: top;
          width: 30px;
          height: 18px;
          @include bg-image('../../assets/images/brand');
          background-size: 30px 18px;
          background-repeat: no-repeat;
        }
        .sname {
          margin-left: 6px;
          font-size: 16px;
          font-weight: blod;
          line-height: 18px;
        }
      }
      .description {
        margin-bottom: 10px;
        line-height: 12px;
        font-size: 12px;
        font-weight: 200;
      }
      .support {
        .icon {
          display: inline-block;
          width: 12px;
          height: 12px;
          margin-bottom: 2px;
          margin-right: 4px;
          background-size: 12px 12px;
          background-repeat: no-repeat;
          &.decrease {
            @include bg-image('../../assets/images/decrease_1');
          }
          &.discount {
            @include bg-image('../../assets/images/discount_1');
          }
          &.special {
            @include bg-image('../../assets/images/special_1');
          }
          &.invoice {
            @include bg-image('../../assets/images/invoice_1');
          }
          &.guarantee {
            @include bg-image('../../assets/images/guarantee_1');
          }
        }
        .activity {
          vertical-align: top;
          line-height: 12px;
          font-size: 10px;
          font-weight: 200;
        }
      }
      .support-count {
        position: absolute;
        right: 12px;
        bottom: 14px;
        padding: 0 8px;
        height: 24px;
        line-height: 24px;
        border-radius: 14px;
        background-color: rgba(0, 0, 0, .2);
        font-weight: 200px;
        text-align: center;
        .count {
          font-size: 10px;
        }
        .icon-keyboard_arrow_right {
          margin-left: 2px;
          font-size: 10px;
        }
      }
    }
  }
  .bulletin-wrapper {
      position: relative;
      height: 28px;
      line-height: 28px;
      padding: 0 22px 0 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      background-color: rgba(7, 17, 27, .2);
      .bulletin-title {
        display: inline-block;
        margin-top: 8px;
        vertical-align: top;
        width: 22px;
        height: 12px;
        @include bg-image('../../assets/images/bulletin');
        background-size: 22px 12px;
        background-repeat: no-repeat;
      }
      .bulletin-text {
        margin: 0 4px;
        vertical-align: top;
        font-size: 10px;
        font-weight: 200;
      }
      .icon-keyboard_arrow_right {
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 10px;
      }
  }
  .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(10px);
  }
  .detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(7,17,27,.8);
    z-index: 999;
  }
}
